package com.liuguang.article.dao;

import com.liuguang.api.article.pojo.ArticleDo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: ArticleMapper
 * @Description：
 * @Author: wanghr
 * Date: 5:52 PM 2020/10/20
 * Version: 1.0
 */
@Mapper
@Repository
public interface ArticleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleDo record);

    int insertSelective(ArticleDo record);

    ArticleDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleDo record);

    int updateByPrimaryKey(ArticleDo record);

//    List<ArticleDo> getAllArticleData();
}
